package com.example.backend.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Date;
import java.sql.Timestamp;

/**
 * @Author Jcy
 * @Date 2022/5/3
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("tb_like")
public class Like {
    @TableId(value = "like_id", type = IdType.AUTO)
    int like_id;
    int like_user_id;
    int like_post_id;
    Timestamp create_date;
    int deleted;
}
